/* Copyright (C) 2010 Luca Piccinelli
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/* 
 * File:   cvMat_formatters.h
 * Author: picci
 *
 * Created on November 27, 2010, 12:53 PM
 */

#ifndef CVMAT_FORMATTERS_H
#define	CVMAT_FORMATTERS_H

#include <string>

#include "gestface.h"
#include "common/utility_data_structures.h"

#include "formatters/formatters.h"

namespace NAMESPACE{

// ****** CvMatHgWndFormatter definition ***************************************
class CvMatHgWndFormatter : public AbstractFormatter{

private:
    const static std::string DEFAULT_TITLE;
    std::string title;

public:
    virtual ~CvMatHgWndFormatter();
    CvMatHgWndFormatter();
    CvMatHgWndFormatter(const CvMatHgWndFormatter& f);
    CvMatHgWndFormatter& operator=(const CvMatHgWndFormatter& f);

    CvMatHgWndFormatter(const IOKey& k, std::string _title = DEFAULT_TITLE);
    CvMatHgWndFormatter(std::string _title);

    CvMatHgWndFormatter& set_wnd_title(const std::string& _title);

    virtual Formatter& format() const;
    virtual Formatter& format(const IOElement& el) const;
};
// -----------------------------------------------------------------------------

}


#endif	/* CVMAT_FORMATTERS_H */

